package cn.snow.iot.module.warning.service.record;


import cn.snow.iot.framework.common.pojo.CommonResult;
import cn.snow.iot.module.warning.controller.admin.home.vo.RecordVO;
import cn.snow.iot.module.warning.controller.admin.home.vo.WarningEquipmentVO;
import cn.snow.iot.module.warning.controller.admin.record.vo.WarningRecordDetailReqVO;
import cn.snow.iot.module.warning.controller.admin.record.vo.WarningRecordPageVO;
import cn.snow.iot.module.warning.controller.admin.record.vo.WarningRecordStatusVO;
import cn.snow.iot.module.warning.dal.dataobject.record.WarningRecordDO;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IWarningRecordService extends IService<WarningRecordDO> {
    IPage<WarningRecordDO> selectRecordPage(WarningRecordPageVO recordPageVO);

    CommonResult<WarningRecordDO> updateStatus(WarningRecordStatusVO recordStatusVO);

    void handleWarningRecord(JSONObject jsonObject);
    CommonResult<WarningRecordDO> insertRecord(JSONObject data);

    List<RecordVO> getRecordList();

    List<WarningEquipmentVO> getWarningEquipmentList();
}
